
applet_name = gnome_pulseaudio_applet

SUBDIRS = gnome_pulse_applet pulse_interface

bindir = $(datadir)/$(applet_name)/py
bin_SCRIPTS = pulse-applet.py

pulseappletdir = $(datadir)/$(applet_name)/py

pulseapplet_PYTHON = \
	pulse-applet.py

EXTRA_DIST = \
	$(pulseapplet_PYTHON)

install-exec-hook:
	-mkdir -p $(prefix)/bin
	-ln -sf $(datadir)/$(applet_name)/py/pulse-applet.py \
		 $(prefix)/bin/pulse-applet

install-data-hook:
	-chmod 755 $(datadir)/$(applet_name)/py/pulse-applet.py
